void main() {
 double salary = 1000;  // 基础工资
 double tax = 0.05;     // 税率
 double medical = 0.08;   // 医保
 double fund = 0.1;       // 公积金
 double meals = 12*22;    //餐补
 double bonus = 10*22;    //车补

  salary += 22;
  salary -= 22;
  salary *= 22;
  salary /= 22;
  int count = salary ~/ 22; // 取的整数赋值给int类型
 double total = salary - salary * tax - salary * medical - salary * fund + meals + bonus;
 print('薪资应发$salary,实发$total');
}